first-order logic
predicate logic
#logic
#logic
Definition (first-order logic)
- Let be a set of variables.
- Let and be a vocabulary of predicate/function symbols.
- predicate and function symbols equipped with arity
- first-order terms and formulas over given by grammar:
- (terms)
- (atomic truth values)
- (predicates and equality)
- (Boolean connectives)
- (existential quantification)
- further connectives definable:
- etc.
- fix precedence to avoid parentheses: > >
Notes
- first-order logic allows general assertions using quantifiers
- universal quantifier
- existential quantifier
- it is dual to universal quantifier (c.f. modal logic and )
See also
- propositional logic, which is more limited than first-order logic
References
- https://www-sop.inria.fr/members/Martin.Avanzini/teaching/2021/AL/slides/w2.pdf
- https://en.wikipedia.org/wiki/First-order_logic
- https://leanprover-community.github.io/logic_and_proof/first_order_logic.html
- https://web.stanford.edu/class/archive/cs/cs103/cs103.1232/lectures/04/Condensed Slides.pdf
- Forall x: Calgary: an introduction to formal logic. Calgary: University of Calgary, 2023. [Online]. Available: https://forallx.openlogicproject.org/